package io.renren.modules.gengyun.dao;


import io.renren.modules.gengyun.entity.PlanIndicatorEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface PlanIndicatorDao {

    PlanIndicatorEntity getIndicator(Long id);

    int save(PlanIndicatorEntity indicator);

    int update(PlanIndicatorEntity indicator);

    int deleteById(Long id);

    List<Map<String, Object>> allList();

    PlanIndicatorEntity getIndicatorByName(String name);
}
